package com.lxk;

/**
 * @author 柳新宽
 * @create 2022-03-31  16:03
 * @describe
 */
public class Demo {
    public static void main(String[] args) {
        String str = "张三,李四";
        String[] split = str.split(",");
        for (String s : split) {
            System.out.println(s);
        }
    }
}
